﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_WarehousingNotice
    /// </summary>
    [Table("PB_WarehousingNotice")]
    public partial class PB_WarehousingNotice
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 生成入库单的code
        /// </summary>
        public String QrCode { get; set; }

        /// <summary>
        /// 机构id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 二维码类型
        /// </summary>
        public int? Type { get; set; }
        /// <summary>
        /// 预留数据层级 父级ID 关联的是通知发货单
        /// </summary>
        public string ReserveParent { get; set; }

        /// <summary>
        /// 外联父表ID
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 预留状态:0-备货中；1-备货完成；2-部分完成
        /// </summary>
        public int? ReserveState { get; set; }
          /// <summary>
        /// 入库通知单说明/备注说明
        /// </summary>
        public string Memo { get; set; }        /// <summary>
        /// 预留数据类型
        /// </summary>
        public string ReserveStyleName { get; set; }
        /// <summary>
        /// 预留发货时间
        /// </summary>
        public DateTime? ReserveDeliveryTime { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CusID { get; set; }
        /// <summary>
        /// 客户地址
        /// </summary>
        public string CustomerAddress { get; set; }
        /// <summary>
        /// 预留审核
        /// </summary>
        public int? CustomerToexamine { get; set; }
        /// <summary>
        /// 仓库ID
        /// </summary>
        public string StorId { get; set; }
    }
}